package com.example.travelhelper.service.serviceImpl;

import com.example.travelhelper.mapper.PageViewMapper;
import com.example.travelhelper.pojo.PageView;
import com.example.travelhelper.service.PageViewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
专门记录浏览量的service
 */
@Service
public class PageViewServiceImpl implements PageViewService {
    @Autowired
    private PageViewMapper pageViewMapper;

    //记录访问量
    public void recordPageView() {


    }

    //获取访问量
    public int getPageView(){
return 1;
    }

}
